package di.finaldi;
public class Server {
	private String serverName;
	private int size;
	private String ip;
	private int port;
	
	public Server() {
		super();
	}
	public Server(String serverName, int size, String ip, int port) {
		super();
		this.serverName = serverName;
		this.size = size;
		this.ip = ip;
		this.port = port;
	}
	public String getServerName() {
		return serverName;
	}
	public void setServerName(String serverName) {
		this.serverName = serverName;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public int getPort() {
		return port;
	}
	public void setPort(int port) {
		this.port = port;
	}
	@Override
	public String toString() {
		return "Server [serverName=" + serverName + ", size=" + size + ", ip="
				+ ip + ", port=" + port + "]";
	}
	
	

}
